3.8 \(\int \frac{A+B x}{\sqrt{a+b x} \sqrt{c+d x} \sqrt{e+f x} \sqrt{g+h x}} \, dx\)

Optimal. Leaf size=442 \[ \frac{2 \sqrt{g+h x} (A b-a B) \sqrt{\frac{(c+d x) (b e-a f)}{(a+b x) (d e-c f)}} \text{EllipticF}\left (\sin ^{-1}\left (\frac{\sqrt{e+f x} \sqrt{b g-a h}}{\sqrt{a+b x} \sqrt{f g-e h}}\right ),-\frac{(b c-a d) (f g-e h)}{(b g-a h) (d e-c f)}\right )}{b \sqrt{c+d x} \sqrt{b g-a h} \sqrt{f g-e h} \sqrt{-\frac{(g+h x) (b e-a f)}{(a+b x) (f g-e h)}}}+\frac{2 B (a+b x) \sqrt{c h-d g} \sqrt{\frac{(c+d x) (b g-a h)}{(a+b x) (d g-c h)}} \sqrt{\frac{(e+f x) (b g-a h)}{(a+b x) (f g-e h)}} \Pi \left (-\frac{b (d g-c h)}{(b c-a d) h};\sin ^{-1}\left (\frac{\sqrt{b c-a d} \sqrt{g+h x}}{\sqrt{c h-d g} \sqrt{a+b x}}\right )|\frac{(b e-a f) (d g-c h)}{(b c-a d) (f g-e h)}\right )}{b h \sqrt{c+d x} \sqrt{e+f x} \sqrt{b c-a d}} \]

[Out]

(2*(A*b - a*B)*Sqrt[((b*e - a*f)*(c + d*x))/((d*e - c*f)*(a + b*x))]*Sqrt[g + h*x]*EllipticF[ArcSin[(Sqrt[b*g
- a*h]*Sqrt[e + f*x])/(Sqrt[f*g - e*h]*Sqrt[a + b*x])], -(((b*c - a*d)*(f*g - e*h))/((d*e - c*f)*(b*g - a*h)))
])/(b*Sqrt[b*g - a*h]*Sqrt[f*g - e*h]*Sqrt[c + d*x]*Sqrt[-(((b*e - a*f)*(g + h*x))/((f*g - e*h)*(a + b*x)))])
+ (2*B*Sqrt[-(d*g) + c*h]*(a + b*x)*Sqrt[((b*g - a*h)*(c + d*x))/((d*g - c*h)*(a + b*x))]*Sqrt[((b*g - a*h)*(e
 + f*x))/((f*g - e*h)*(a + b*x))]*EllipticPi[-((b*(d*g - c*h))/((b*c - a*d)*h)), ArcSin[(Sqrt[b*c - a*d]*Sqrt[
g + h*x])/(Sqrt[-(d*g) + c*h]*Sqrt[a + b*x])], ((b*e - a*f)*(d*g - c*h))/((b*c - a*d)*(f*g - e*h))])/(b*Sqrt[b
*c - a*d]*h*Sqrt[c + d*x]*Sqrt[e + f*x])

________________________________________________________________________________________

Rubi [A]  time = 0.461344, antiderivative size = 442, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 42, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.119, Rules used = {1598, 170, 419, 165, 537} \[ \frac{2 \sqrt{g+h x} (A b-a B) \sqrt{\frac{(c+d x) (b e-a f)}{(a+b x) (d e-c f)}} F\left (\sin ^{-1}\left (\frac{\sqrt{b g-a h} \sqrt{e+f x}}{\sqrt{f g-e h} \sqrt{a+b x}}\right )|-\frac{(b c-a d) (f g-e h)}{(d e-c f) (b g-a h)}\right )}{b \sqrt{c+d x} \sqrt{b g-a h} \sqrt{f g-e h} \sqrt{-\frac{(g+h x) (b e-a f)}{(a+b x) (f g-e h)}}}+\frac{2 B (a+b x) \sqrt{c h-d g} \sqrt{\frac{(c+d x) (b g-a h)}{(a+b x) (d g-c h)}} \sqrt{\frac{(e+f x) (b g-a h)}{(a+b x) (f g-e h)}} \Pi \left (-\frac{b (d g-c h)}{(b c-a d) h};\sin ^{-1}\left (\frac{\sqrt{b c-a d} \sqrt{g+h x}}{\sqrt{c h-d g} \sqrt{a+b x}}\right )|\frac{(b e-a f) (d g-c h)}{(b c-a d) (f g-e h)}\right )}{b h \sqrt{c+d x} \sqrt{e+f x} \sqrt{b c-a d}} \]

Antiderivative was successfully verified.

[In]

Int[(A + B*x)/(Sqrt[a + b*x]*Sqrt[c + d*x]*Sqrt[e + f*x]*Sqrt[g + h*x]),x]

[Out]

(2*(A*b - a*B)*Sqrt[((b*e - a*f)*(c + d*x))/((d*e - c*f)*(a + b*x))]*Sqrt[g + h*x]*EllipticF[ArcSin[(Sqrt[b*g
- a*h]*Sqrt[e + f*x])/(Sqrt[f*g - e*h]*Sqrt[a + b*x])], -(((b*c - a*d)*(f*g - e*h))/((d*e - c*f)*(b*g - a*h)))
])/(b*Sqrt[b*g - a*h]*Sqrt[f*g - e*h]*Sqrt[c + d*x]*Sqrt[-(((b*e - a*f)*(g + h*x))/((f*g - e*h)*(a + b*x)))])
+ (2*B*Sqrt[-(d*g) + c*h]*(a + b*x)*Sqrt[((b*g - a*h)*(c + d*x))/((d*g - c*h)*(a + b*x))]*Sqrt[((b*g - a*h)*(e
 + f*x))/((f*g - e*h)*(a + b*x))]*EllipticPi[-((b*(d*g - c*h))/((b*c - a*d)*h)), ArcSin[(Sqrt[b*c - a*d]*Sqrt[
g + h*x])/(Sqrt[-(d*g) + c*h]*Sqrt[a + b*x])], ((b*e - a*f)*(d*g - c*h))/((b*c - a*d)*(f*g - e*h))])/(b*Sqrt[b
*c - a*d]*h*Sqrt[c + d*x]*Sqrt[e + f*x])

Rule 1598

Int[((A_.) + (B_.)*(x_))/(Sqrt[(a_.) + (b_.)*(x_)]*Sqrt[(c_.) + (d_.)*(x_)]*Sqrt[(e_.) + (f_.)*(x_)]*Sqrt[(g_.
) + (h_.)*(x_)]), x_Symbol] :> Dist[(A*b - a*B)/b, Int[1/(Sqrt[a + b*x]*Sqrt[c + d*x]*Sqrt[e + f*x]*Sqrt[g + h
*x]), x], x] + Dist[B/b, Int[Sqrt[a + b*x]/(Sqrt[c + d*x]*Sqrt[e + f*x]*Sqrt[g + h*x]), x], x] /; FreeQ[{a, b,
 c, d, e, f, g, h, A, B}, x]

Rule 170

Int[1/(Sqrt[(a_.) + (b_.)*(x_)]*Sqrt[(c_.) + (d_.)*(x_)]*Sqrt[(e_.) + (f_.)*(x_)]*Sqrt[(g_.) + (h_.)*(x_)]), x
_Symbol] :> Dist[(2*Sqrt[g + h*x]*Sqrt[((b*e - a*f)*(c + d*x))/((d*e - c*f)*(a + b*x))])/((f*g - e*h)*Sqrt[c +
 d*x]*Sqrt[-(((b*e - a*f)*(g + h*x))/((f*g - e*h)*(a + b*x)))]), Subst[Int[1/(Sqrt[1 + ((b*c - a*d)*x^2)/(d*e
- c*f)]*Sqrt[1 - ((b*g - a*h)*x^2)/(f*g - e*h)]), x], x, Sqrt[e + f*x]/Sqrt[a + b*x]], x] /; FreeQ[{a, b, c, d
, e, f, g, h}, x]

Rule 419

Int[1/(Sqrt[(a_) + (b_.)*(x_)^2]*Sqrt[(c_) + (d_.)*(x_)^2]), x_Symbol] :> Simp[(1*EllipticF[ArcSin[Rt[-(d/c),
2]*x], (b*c)/(a*d)])/(Sqrt[a]*Sqrt[c]*Rt[-(d/c), 2]), x] /; FreeQ[{a, b, c, d}, x] && NegQ[d/c] && GtQ[c, 0] &
& GtQ[a, 0] &&  !(NegQ[b/a] && SimplerSqrtQ[-(b/a), -(d/c)])

Rule 165

Int[Sqrt[(a_.) + (b_.)*(x_)]/(Sqrt[(c_.) + (d_.)*(x_)]*Sqrt[(e_.) + (f_.)*(x_)]*Sqrt[(g_.) + (h_.)*(x_)]), x_S
ymbol] :> Dist[(2*(a + b*x)*Sqrt[((b*g - a*h)*(c + d*x))/((d*g - c*h)*(a + b*x))]*Sqrt[((b*g - a*h)*(e + f*x))
/((f*g - e*h)*(a + b*x))])/(Sqrt[c + d*x]*Sqrt[e + f*x]), Subst[Int[1/((h - b*x^2)*Sqrt[1 + ((b*c - a*d)*x^2)/
(d*g - c*h)]*Sqrt[1 + ((b*e - a*f)*x^2)/(f*g - e*h)]), x], x, Sqrt[g + h*x]/Sqrt[a + b*x]], x] /; FreeQ[{a, b,
 c, d, e, f, g, h}, x]

Rule 537

Int[1/(((a_) + (b_.)*(x_)^2)*Sqrt[(c_) + (d_.)*(x_)^2]*Sqrt[(e_) + (f_.)*(x_)^2]), x_Symbol] :> Simp[(1*Ellipt
icPi[(b*c)/(a*d), ArcSin[Rt[-(d/c), 2]*x], (c*f)/(d*e)])/(a*Sqrt[c]*Sqrt[e]*Rt[-(d/c), 2]), x] /; FreeQ[{a, b,
 c, d, e, f}, x] &&  !GtQ[d/c, 0] && GtQ[c, 0] && GtQ[e, 0] &&  !( !GtQ[f/e, 0] && SimplerSqrtQ[-(f/e), -(d/c)
])

Rubi steps

\begin{align*} \int \frac{A+B x}{\sqrt{a+b x} \sqrt{c+d x} \sqrt{e+f x} \sqrt{g+h x}} \, dx &=\frac{B \int \frac{\sqrt{a+b x}}{\sqrt{c+d x} \sqrt{e+f x} \sqrt{g+h x}} \, dx}{b}+\frac{(A b-a B) \int \frac{1}{\sqrt{a+b x} \sqrt{c+d x} \sqrt{e+f x} \sqrt{g+h x}} \, dx}{b}\\ &=\frac{\left (2 B (a+b x) \sqrt{\frac{(b g-a h) (c+d x)}{(d g-c h) (a+b x)}} \sqrt{\frac{(b g-a h) (e+f x)}{(f g-e h) (a+b x)}}\right ) \operatorname{Subst}\left (\int \frac{1}{\left (h-b x^2\right ) \sqrt{1+\frac{(b c-a d) x^2}{d g-c h}} \sqrt{1+\frac{(b e-a f) x^2}{f g-e h}}} \, dx,x,\frac{\sqrt{g+h x}}{\sqrt{a+b x}}\right )}{b \sqrt{c+d x} \sqrt{e+f x}}+\frac{\left (2 (A b-a B) \sqrt{\frac{(b e-a f) (c+d x)}{(d e-c f) (a+b x)}} \sqrt{g+h x}\right ) \operatorname{Subst}\left (\int \frac{1}{\sqrt{1+\frac{(b c-a d) x^2}{d e-c f}} \sqrt{1-\frac{(b g-a h) x^2}{f g-e h}}} \, dx,x,\frac{\sqrt{e+f x}}{\sqrt{a+b x}}\right )}{b (f g-e h) \sqrt{c+d x} \sqrt{-\frac{(b e-a f) (g+h x)}{(f g-e h) (a+b x)}}}\\ &=\frac{2 (A b-a B) \sqrt{\frac{(b e-a f) (c+d x)}{(d e-c f) (a+b x)}} \sqrt{g+h x} F\left (\sin ^{-1}\left (\frac{\sqrt{b g-a h} \sqrt{e+f x}}{\sqrt{f g-e h} \sqrt{a+b x}}\right )|-\frac{(b c-a d) (f g-e h)}{(d e-c f) (b g-a h)}\right )}{b \sqrt{b g-a h} \sqrt{f g-e h} \sqrt{c+d x} \sqrt{-\frac{(b e-a f) (g+h x)}{(f g-e h) (a+b x)}}}+\frac{2 B \sqrt{-d g+c h} (a+b x) \sqrt{\frac{(b g-a h) (c+d x)}{(d g-c h) (a+b x)}} \sqrt{\frac{(b g-a h) (e+f x)}{(f g-e h) (a+b x)}} \Pi \left (-\frac{b (d g-c h)}{(b c-a d) h};\sin ^{-1}\left (\frac{\sqrt{b c-a d} \sqrt{g+h x}}{\sqrt{-d g+c h} \sqrt{a+b x}}\right )|\frac{(b e-a f) (d g-c h)}{(b c-a d) (f g-e h)}\right )}{b \sqrt{b c-a d} h \sqrt{c+d x} \sqrt{e+f x}}\\ \end{align*}

Mathematica [A]  time = 6.47715, size = 586, normalized size = 1.33 \[ \frac{2 (a+b x)^{3/2} \sqrt{\frac{(c+d x) (b g-a h)}{(a+b x) (d g-c h)}} \left (-\frac{A b (g+h x) \sqrt{\frac{(e+f x) (b g-a h)}{(a+b x) (f g-e h)}} \text{EllipticF}\left (\sin ^{-1}\left (\sqrt{\frac{(g+h x) (a f-b e)}{(a+b x) (f g-e h)}}\right ),\frac{(a d-b c) (e h-f g)}{(b e-a f) (d g-c h)}\right )}{(a+b x) (b g-a h) \sqrt{\frac{(g+h x) (a f-b e)}{(a+b x) (f g-e h)}}}-\frac{a B (g+h x) \sqrt{\frac{(e+f x) (b g-a h)}{(a+b x) (f g-e h)}} \text{EllipticF}\left (\sin ^{-1}\left (\sqrt{\frac{(g+h x) (a f-b e)}{(a+b x) (f g-e h)}}\right ),\frac{(a d-b c) (e h-f g)}{(b e-a f) (d g-c h)}\right )}{(a+b x) (a h-b g) \sqrt{\frac{(g+h x) (a f-b e)}{(a+b x) (f g-e h)}}}+\frac{B (e h-f g) \sqrt{-\frac{(e+f x) (g+h x) (b e-a f) (b g-a h)}{(a+b x)^2 (f g-e h)^2}} \Pi \left (\frac{b (e h-f g)}{(b e-a f) h};\sin ^{-1}\left (\sqrt{\frac{(a f-b e) (g+h x)}{(f g-e h) (a+b x)}}\right )|\frac{(a d-b c) (e h-f g)}{(b e-a f) (d g-c h)}\right )}{h (b e-a f)}\right )}{b \sqrt{c+d x} \sqrt{e+f x} \sqrt{g+h x}} \]

Antiderivative was successfully verified.

[In]

Integrate[(A + B*x)/(Sqrt[a + b*x]*Sqrt[c + d*x]*Sqrt[e + f*x]*Sqrt[g + h*x]),x]

[Out]

(2*(a + b*x)^(3/2)*Sqrt[((b*g - a*h)*(c + d*x))/((d*g - c*h)*(a + b*x))]*(-((A*b*Sqrt[((b*g - a*h)*(e + f*x))/
((f*g - e*h)*(a + b*x))]*(g + h*x)*EllipticF[ArcSin[Sqrt[((-(b*e) + a*f)*(g + h*x))/((f*g - e*h)*(a + b*x))]],
 ((-(b*c) + a*d)*(-(f*g) + e*h))/((b*e - a*f)*(d*g - c*h))])/((b*g - a*h)*(a + b*x)*Sqrt[((-(b*e) + a*f)*(g +
h*x))/((f*g - e*h)*(a + b*x))])) - (a*B*Sqrt[((b*g - a*h)*(e + f*x))/((f*g - e*h)*(a + b*x))]*(g + h*x)*Ellipt
icF[ArcSin[Sqrt[((-(b*e) + a*f)*(g + h*x))/((f*g - e*h)*(a + b*x))]], ((-(b*c) + a*d)*(-(f*g) + e*h))/((b*e -
a*f)*(d*g - c*h))])/((-(b*g) + a*h)*(a + b*x)*Sqrt[((-(b*e) + a*f)*(g + h*x))/((f*g - e*h)*(a + b*x))]) + (B*(
-(f*g) + e*h)*Sqrt[-(((b*e - a*f)*(b*g - a*h)*(e + f*x)*(g + h*x))/((f*g - e*h)^2*(a + b*x)^2))]*EllipticPi[(b
*(-(f*g) + e*h))/((b*e - a*f)*h), ArcSin[Sqrt[((-(b*e) + a*f)*(g + h*x))/((f*g - e*h)*(a + b*x))]], ((-(b*c) +
 a*d)*(-(f*g) + e*h))/((b*e - a*f)*(d*g - c*h))])/((b*e - a*f)*h)))/(b*Sqrt[c + d*x]*Sqrt[e + f*x]*Sqrt[g + h*
x])

________________________________________________________________________________________

Maple [B]  time = 0.085, size = 2453, normalized size = 5.6 \begin{align*} \text{result too large to display} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((B*x+A)/(b*x+a)^(1/2)/(d*x+c)^(1/2)/(f*x+e)^(1/2)/(h*x+g)^(1/2),x)

[Out]

2/(h*x+g)^(1/2)/(f*x+e)^(1/2)/(d*x+c)^(1/2)/(b*x+a)^(1/2)/f/h*((a*f-b*e)*(h*x+g)/(a*h-b*g)/(f*x+e))^(1/2)*((e*
h-f*g)*(d*x+c)/(c*h-d*g)/(f*x+e))^(1/2)*((e*h-f*g)*(b*x+a)/(a*h-b*g)/(f*x+e))^(1/2)*(A*EllipticF(((a*f-b*e)*(h
*x+g)/(a*h-b*g)/(f*x+e))^(1/2),((c*f-d*e)*(a*h-b*g)/(c*h-d*g)/(a*f-b*e))^(1/2))*x^2*a*f^3*h^2-A*EllipticF(((a*
f-b*e)*(h*x+g)/(a*h-b*g)/(f*x+e))^(1/2),((c*f-d*e)*(a*h-b*g)/(c*h-d*g)/(a*f-b*e))^(1/2))*x^2*b*f^3*g*h-B*Ellip
ticF(((a*f-b*e)*(h*x+g)/(a*h-b*g)/(f*x+e))^(1/2),((c*f-d*e)*(a*h-b*g)/(c*h-d*g)/(a*f-b*e))^(1/2))*x^2*a*e*f^2*
h^2+B*EllipticF(((a*f-b*e)*(h*x+g)/(a*h-b*g)/(f*x+e))^(1/2),((c*f-d*e)*(a*h-b*g)/(c*h-d*g)/(a*f-b*e))^(1/2))*x
^2*b*e*f^2*g*h+B*EllipticPi(((a*f-b*e)*(h*x+g)/(a*h-b*g)/(f*x+e))^(1/2),(a*h-b*g)*f/h/(a*f-b*e),((c*f-d*e)*(a*
h-b*g)/(c*h-d*g)/(a*f-b*e))^(1/2))*x^2*a*e*f^2*h^2-B*EllipticPi(((a*f-b*e)*(h*x+g)/(a*h-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^2*f*g*h-B*EllipticP
i(((a*f-b*e)*(h*x+g)/(a*h-b*g)/(f*x+e))^(1/2),(a*h-b*g)*f/h/(a*f-b*e),((c*f-d*e)*(a*h-b*g)/(c*h-d*g)/(a*f-b*e)
)^(1/2))*b*e^3*g*h+B*EllipticPi(((a*f-b*e)*(h*x+g)/(a*h-b*g)/(f*x+e))^(1/2),(a*h-b*g)*f/h/(a*f-b*e),((c*f-d*e)
*(a*h-b*g)/(c*h-d*g)/(a*f-b*e))^(1/2))*b*e^2*f*g^2)/(e*h-f*g)/(a*f-b*e)

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{B x + A}{\sqrt{b x + a} \sqrt{d x + c} \sqrt{f x + e} \sqrt{h x + g}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((B*x+A)/(b*x+a)^(1/2)/(d*x+c)^(1/2)/(f*x+e)^(1/2)/(h*x+g)^(1/2),x, algorithm="maxima")

[Out]

integrate((B*x + A)/(sqrt(b*x + a)*sqrt(d*x + c)*sqrt(f*x + e)*sqrt(h*x + g)), x)

________________________________________________________________________________________

Fricas [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((B*x+A)/(b*x+a)^(1/2)/(d*x+c)^(1/2)/(f*x+e)^(1/2)/(h*x+g)^(1/2),x, algorithm="fricas")

[Out]

Timed out

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{A + B x}{\sqrt{a + b x} \sqrt{c + d x} \sqrt{e + f x} \sqrt{g + h x}}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((B*x+A)/(b*x+a)**(1/2)/(d*x+c)**(1/2)/(f*x+e)**(1/2)/(h*x+g)**(1/2),x)

[Out]

Integral((A + B*x)/(sqrt(a + b*x)*sqrt(c + d*x)*sqrt(e + f*x)*sqrt(g + h*x)), x)

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{B x + A}{\sqrt{b x + a} \sqrt{d x + c} \sqrt{f x + e} \sqrt{h x + g}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((B*x+A)/(b*x+a)^(1/2)/(d*x+c)^(1/2)/(f*x+e)^(1/2)/(h*x+g)^(1/2),x, algorithm="giac")

[Out]

integrate((B*x + A)/(sqrt(b*x + a)*sqrt(d*x + c)*sqrt(f*x + e)*sqrt(h*x + g)), x)